package com.ben.multiple.shard.springjdbc.mp;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("t_order")
@Data
public class Order implements Serializable {

    private static final long serialVersionUID = 8306802022239174861L;

    private Long orderId;

    private Integer orderType;

    private Integer userId;

    private Long addressId;

    private String status;

    public Order() {
    }

    public Order(Long orderId, int orderType, int userId, long addressId, String status) {
        this.orderId = orderId;
        this.orderType = orderType;
        this.userId = userId;
        this.addressId = addressId;
        this.status = status;
    }
}
